package com.glory.brepda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: ChangeShiftEntity
 * Author: XJH
 * Date: 2020/7/1 19:52
 * Description:
 * History:
 */
public class ChangeShiftEntity implements Serializable {
  private String ITEMID;

  private String COMMENTS;

  private String RESERVED01;

  private String RESERVED02; //批次数量

  private String RESERVED03;//设备编号

  private String RESERVED04;//批次状态

  private String RESERVED05;

  private String RESERVED06;
  private String RESERVED08;
  private String RESERVED09;

  private String DOCID;//交班订号

  private String REFEROWNER;//交班人

  private String REFERTIME;//交班时间

  private String TOOWNER;//接班人

  private String TOTIME;//接班时间

  private String MAINQTY;//主数量
  private String XXMAINQTY;

  private String SUBQTY;//子数量

  private String ISLAST;//是否为最后一次交接
  private String CLAZZ;//是否为最后一次交接

  private ChangeShift CHANGESHIFT;

  private List<ChangeShift> CHANGESHIFTLINELIST;
  private List<ChangeShift> TESTCHANGESHIFTLINELIST;

  public String getRESERVED08() {
    return RESERVED08 == null ? "" : RESERVED08;
  }

  public void setRESERVED08(String RESERVED08) {
    this.RESERVED08 = RESERVED08;
  }

  public String getRESERVED09() {
    return RESERVED09 == null ? "" : RESERVED09;
  }

  public void setRESERVED09(String RESERVED09) {
    this.RESERVED09 = RESERVED09;
  }

  public String getCLAZZ() {
    return CLAZZ == null ? "" : CLAZZ;
  }

  public void setCLAZZ(String CLAZZ) {
    this.CLAZZ = CLAZZ;
  }

  public List<ChangeShift> getTESTCHANGESHIFTLINELIST() {
    if (TESTCHANGESHIFTLINELIST == null) {
      return new ArrayList<>();
    }
    return TESTCHANGESHIFTLINELIST;
  }

  public String getXXMAINQTY() {
    return XXMAINQTY == null ? "" : XXMAINQTY;
  }

  public void setXXMAINQTY(String XXMAINQTY) {
    this.XXMAINQTY = XXMAINQTY;
  }

  public void setTESTCHANGESHIFTLINELIST(List<ChangeShift> TESTCHANGESHIFTLINELIST) {
    this.TESTCHANGESHIFTLINELIST = TESTCHANGESHIFTLINELIST;
  }

  public String getRESERVED06() {
    return RESERVED06 == null ? "" : RESERVED06;
  }

  public void setRESERVED06(String RESERVED06) {
    this.RESERVED06 = RESERVED06;
  }

  public String getDOCID() {
    return DOCID == null ? "" : DOCID;
  }

  public void setDOCID(String DOCID) {
    this.DOCID = DOCID;
  }

  public String getREFEROWNER() {
    return REFEROWNER == null ? "" : REFEROWNER;
  }

  public void setREFEROWNER(String REFEROWNER) {
    this.REFEROWNER = REFEROWNER;
  }

  public String getREFERTIME() {
    return REFERTIME == null ? "" : REFERTIME;
  }

  public void setREFERTIME(String REFERTIME) {
    this.REFERTIME = REFERTIME;
  }

  public String getTOOWNER() {
    return TOOWNER == null ? "" : TOOWNER;
  }

  public void setTOOWNER(String TOOWNER) {
    this.TOOWNER = TOOWNER;
  }

  public String getTOTIME() {
    return TOTIME == null ? "" : TOTIME;
  }

  public void setTOTIME(String TOTIME) {
    this.TOTIME = TOTIME;
  }

  public String getMAINQTY() {
    return MAINQTY == null ? "" : MAINQTY;
  }

  public void setMAINQTY(String MAINQTY) {
    this.MAINQTY = MAINQTY;
  }

  public String getSUBQTY() {
    return SUBQTY == null ? "" : SUBQTY;
  }

  public void setSUBQTY(String SUBQTY) {
    this.SUBQTY = SUBQTY;
  }

  public String getISLAST() {
    return ISLAST == null ? "" : ISLAST;
  }

  public void setISLAST(String ISLAST) {
    this.ISLAST = ISLAST;
  }

  public List<ChangeShift> getCHANGESHIFTLINELIST() {
    if (CHANGESHIFTLINELIST == null) {
      return new ArrayList<>();
    }
    return CHANGESHIFTLINELIST;
  }

  public void setCHANGESHIFTLINELIST(List<ChangeShift> CHANGESHIFTLINELIST) {
    this.CHANGESHIFTLINELIST = CHANGESHIFTLINELIST;
  }
  public ChangeShiftEntity(String ITEMID, String MAINQTY,String RESERVED03, String state,String REFEROWNER,String type) {
    this.ITEMID = ITEMID;
    this.MAINQTY = MAINQTY;
    this.RESERVED02 = MAINQTY;
    this.RESERVED03 = RESERVED03;
    this.RESERVED04 = state;
    this.RESERVED09 = REFEROWNER;
    this.RESERVED08 = type;
    this.REFEROWNER = REFEROWNER;
  }
  public ChangeShiftEntity(String ITEMID, String MAINQTY, String RESERVED03, String RESERVED04) {
    this.ITEMID = ITEMID;
    this.MAINQTY = MAINQTY;
    this.RESERVED02 = MAINQTY;
    this.RESERVED03 = RESERVED03;
    this.RESERVED04 = RESERVED04;
  }

  public String getRESERVED02() {
    return RESERVED02 == null ? "" : RESERVED02;
  }

  public void setRESERVED02(String RESERVED02) {
    this.RESERVED02 = RESERVED02;
  }

  public String getRESERVED03() {
    return RESERVED03 == null ? "" : RESERVED03;
  }

  public void setRESERVED03(String RESERVED03) {
    this.RESERVED03 = RESERVED03;
  }

  public String getRESERVED04() {
    return RESERVED04 == null ? "" : RESERVED04;
  }

  public void setRESERVED04(String RESERVED04) {
    this.RESERVED04 = RESERVED04;
  }

  public String getRESERVED05() {
    return RESERVED05 == null ? "" : RESERVED05;
  }

  public void setRESERVED05(String RESERVED05) {
    this.RESERVED05 = RESERVED05;
  }

  public ChangeShift getCHANGESHIFT() {
    return CHANGESHIFT == null ? new ChangeShift() : CHANGESHIFT;
  }

  public void setCHANGESHIFT(ChangeShift CHANGESHIFT) {
    this.CHANGESHIFT = CHANGESHIFT;
  }

  public String getITEMID() {
    return ITEMID == null ? "" : ITEMID;
  }

  public void setITEMID(String ITEMID) {
    this.ITEMID = ITEMID;
  }

  public String getCOMMENTS() {
    return COMMENTS == null ? "" : COMMENTS;
  }

  public void setCOMMENTS(String COMMENTS) {
    this.COMMENTS = COMMENTS;
  }

  public String getRESERVED01() {
    return RESERVED01 == null ? "" : RESERVED01;
  }

  public void setRESERVED01(String RESERVED01) {
    this.RESERVED01 = RESERVED01;
  }

  public static class ChangeShift implements Serializable{
    // 交接班主键RRN
    private String CHANGESHIFTRRN;
    // 交接班ID
    private String CHANGESHIFTID;

    private String CLASSTYPE;
    private String OPERATORS;
    private String TECHNICIAN;
    private String MEASUREDQTY;
    private String RETESTQTY;
    private String RETESTRATE;
    private String REMARKS;
    private String OBJECTRRN;
    private String LOTID;
    private String EQUIPMENTID;
    private int pos;

    private String TYPE;//类型

    private String ITEMID;

    private String RESERVED01;//剩余数量

    private String RESERVED02; //批次数量

    private String RESERVED03;//设备编号

    private String RESERVED04;//批次状态

    private String COMMENTS;//已完成数量

    private String RESERVED05;//工序

    private String RESERVED06;//工序描述


    public String getEQUIPMENTID() {
      return EQUIPMENTID == null ? "" : EQUIPMENTID;
    }

    public void setEQUIPMENTID(String EQUIPMENTID) {
      this.EQUIPMENTID = EQUIPMENTID;
    }

    public int getPos() {
      return pos;
    }

    public void setPos(int pos) {
      this.pos = pos;
    }

    public String getLOTID() {
      return LOTID == null ? "" : LOTID;
    }

    public void setLOTID(String LOTID) {
      this.LOTID = LOTID;
    }

    public String getOBJECTRRN() {
      return OBJECTRRN == null ? "" : OBJECTRRN;
    }

    public void setOBJECTRRN(String OBJECTRRN) {
      this.OBJECTRRN = OBJECTRRN;
    }

    public String getCLASSTYPE() {
      return CLASSTYPE == null ? "" : CLASSTYPE;
    }

    public void setCLASSTYPE(String CLASSTYPE) {
      this.CLASSTYPE = CLASSTYPE;
    }

    public String getOPERATORS() {
      return OPERATORS == null ? "" : OPERATORS;
    }

    public void setOPERATORS(String OPERATORS) {
      this.OPERATORS = OPERATORS;
    }

    public String getTECHNICIAN() {
      return TECHNICIAN == null ? "" : TECHNICIAN;
    }

    public void setTECHNICIAN(String TECHNICIAN) {
      this.TECHNICIAN = TECHNICIAN;
    }

    public String getMEASUREDQTY() {
      return MEASUREDQTY == null ? "" : MEASUREDQTY;
    }

    public void setMEASUREDQTY(String MEASUREDQTY) {
      this.MEASUREDQTY = MEASUREDQTY;
    }

    public String getRETESTQTY() {
      return RETESTQTY == null ? "" : RETESTQTY;
    }

    public void setRETESTQTY(String RETESTQTY) {
      this.RETESTQTY = RETESTQTY;
    }

    public String getRETESTRATE() {
      return RETESTRATE == null ? "" : RETESTRATE;
    }

    public void setRETESTRATE(String RETESTRATE) {
      this.RETESTRATE = RETESTRATE;
    }

    public String getREMARKS() {
      return REMARKS == null ? "" : REMARKS;
    }

    public void setREMARKS(String REMARKS) {
      this.REMARKS = REMARKS;
    }

    public String getCHANGESHIFTRRN() {
      return CHANGESHIFTRRN == null ? "" : CHANGESHIFTRRN;
    }

    public void setCHANGESHIFTRRN(String CHANGESHIFTRRN) {
      this.CHANGESHIFTRRN = CHANGESHIFTRRN;
    }

    public String getCHANGESHIFTID() {
      return CHANGESHIFTID == null ? "" : CHANGESHIFTID;
    }

    public void setCHANGESHIFTID(String CHANGESHIFTID) {
      this.CHANGESHIFTID = CHANGESHIFTID;
    }

    public String getTYPE() {
      return TYPE == null ? "" : TYPE;
    }

    public void setTYPE(String TYPE) {
      this.TYPE = TYPE;
    }

    public String getITEMID() {
      return ITEMID == null ? "" : ITEMID;
    }

    public void setITEMID(String ITEMID) {
      this.ITEMID = ITEMID;
    }

    public String getRESERVED06() {
      return RESERVED06 == null ? "" : RESERVED06;
    }

    public void setRESERVED06(String RESERVED06) {
      this.RESERVED06 = RESERVED06;
    }

    public String getItemId() {
      return ITEMID == null ? "" : ITEMID;
    }

    public void setItemId(String itemId) {
      this.ITEMID = itemId;
    }

    public String getRESERVED01() {
      return RESERVED01 == null ? "" : RESERVED01;
    }

    public void setRESERVED01(String RESERVED01) {
      this.RESERVED01 = RESERVED01;
    }

    public String getRESERVED02() {
      return RESERVED02 == null ? "" : RESERVED02;
    }

    public void setRESERVED02(String RESERVED02) {
      this.RESERVED02 = RESERVED02;
    }

    public String getRESERVED03() {
      return RESERVED03 == null ? "" : RESERVED03;
    }

    public void setRESERVED03(String RESERVED03) {
      this.RESERVED03 = RESERVED03;
    }

    public String getRESERVED04() {
      return RESERVED04 == null ? "" : RESERVED04;
    }

    public void setRESERVED04(String RESERVED04) {
      this.RESERVED04 = RESERVED04;
    }

    public String getCOMMENTS() {
      return COMMENTS == null ? "" : COMMENTS;
    }

    public void setCOMMENTS(String COMMENTS) {
      this.COMMENTS = COMMENTS;
    }

    public String getRESERVED05() {
      return RESERVED05 == null ? "" : RESERVED05;
    }

    public void setRESERVED05(String RESERVED05) {
      this.RESERVED05 = RESERVED05;
    }

  }
}
